home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
ashe-1.1
/
Imakefile
< prev
next >
Wrap
Makefile
|
1995-05-15
|
2KB
|
96 lines
/*
* Sample Imakefile for xhtml
*
* Use the Following Commands to create the Makefile and build the
* program
*
* Step 1) xmkmf
* Step 2) make depend
* Step 3) make all
*
* Step 1 needs to be done every time you change platforms you are working
* on, or change the Imakefile
*
* Step 2 needs to be done every time you do step 1, or every time you
* change any of the source or header files involved
*
* Step 3 results in the desired binary if all is well.
*
*/
/* This is a list of programs to build. */
TARGETS = xhtml
/* The sources for this Program. */
SRCS = xfile.c \
xheader.c \
xhtml.c \
xmarkup.c \
xstyles.c \
xviewer.c \
xform.c
/* The object files that will be generated */
OBJS = $(SRCS:.c=.o)
/*
* Specify this line if you want the program to be compiled with Debugging. *
*
*/
CDEBUGFLAGS = -O
/*
* Change the name of the compiler here. The default version is
* 'gcc'. (the Motif libraries needed to be built with it.)
* If you are changing the compiler to 'cc', you may also need to
* redefine the EXTRA_LOAD_FLAGS envariable
*
* Uncomment this section if GCC is not the compiler.
*
* CC=gcc
*
* EXTRA_LOAD_FLAGS=
*
*/
/*
* This section tells it which Client library to use.
* Use 'XawClientLibs' and 'XawClientDepLibs' for the Athena Widget set.
* Use 'XmClientLibs' and 'XmClientDepLibs' for the Motif widget set.
* LCL_LIB = XawClientLibs
* DEPLIBS = XawClientDepLibs
*/
SYS_LIB =
DEPLIBS = XmClientDepLibs
/*
* This is the Directory of the HTML Widget Library. (Please change it)
*
*/
LCL_LIB = -L../libhtmlw -lhtmlw XmClientLibs
/*
* This is the Directory of the HTML Widget Include Files (Please change it)
*
*/
INCLUDES = -I../libhtmlw
#
# This is what is built when you say 'make all'
AllTarget($(TARGETS))
NormalProgramTarget( $(TARGETS), $(OBJS), $(DEPLIBS), $(LCL_LIB), $(SYS_LIB))
DependTarget()
InstallProgram(xhtml, $(DESTDIR)/usr/skunk/bin/X11)
InstallNonExec(help.html, $(DESTDIR)/usr/skunk/lib/X11)
InstallAppDefaults(XHTML)